'''
元组的使用
'''
#将其他序列转换成元组tuple()
t1 = (10,20,30)
print(t1)
for num in t1:
    print(num)

list1 = ["abc","def","QQQ"]
print(type(list1))
t2 = tuple(list1)
print(type(t2))